package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.School;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.util.List;

public interface ISchoolService {
    void insert(School record);

    void updateByPrimaryKey(School record);

    List<School> selectAll();

    PageResult query(QueryObject qo);

    int deleteByPrimaryKey(Long id);

    void changState(Long id);

    HSSFWorkbook exportXls(QueryObject qo);

    Long selectById(String schoolName);
}
